package policies

import (
	"gitee.com/sweetsunnyflower/carpooling-server-go/app/models/blacklist"
)

func CanViewBlacklist(userId uint64, blacklist blacklist.Blacklist) bool {
	// return userId == blacklist.UserId
	return true
}

func CanModifyBlacklist(userId uint64, blacklist blacklist.Blacklist) bool {
	// return userId == blacklist.UserId
	return true
}

func CanCreateBlacklist(userId uint64, blacklist blacklist.Blacklist) bool {
	// return userId == blacklist.UserId
	return true
}

func CanUpdateBlacklist(userId uint64, blacklist blacklist.Blacklist) bool {
	// return userId == blacklist.UserId
	return true
}

func CanDeleteBlacklist(userId uint64, blacklist blacklist.Blacklist) bool {
	return userId == blacklist.UserId
}
